Add mini-logo on top of mods avatar

Just wondering how is this mini-logo added on top of the avatars?

In a topic:

In the “categories page”:

So there should be a site setting to control whether the mini-logo should be put on top of mods avatars? But I can’t find any.