If a user types a couple of lines right after each other in chat, the avatar grows to it's maximum size.
So does the hat.
Because of the size of the mask and the short length of the name, the name gets hidden by the hat.
This can't possibly be by design.