Font bug?

Just noticed this happening when I click on and then away from the text. In addition to the format you can see on the bar, it’s also smallcaps.

Format:
Glitch:
Glitch when click away:
Normal: