Why is RichText doing this?

I’m using RichText on my TextBox but for some reason when I unfocus, the text gets all mixed up or something.

Focused

a

Unfocused

b

TextBox Properties


b

The only property that changes in-game is the size. The size is constantly being changed every time the text changes using GetTextSize.