Text box glitches

While trying to edit / add text into the Text tool I’m experiencing strange visual glitches. This only happens when I add a large amount of text.

Reproduce it like this: Open the text tool, and try to add this lorem ipsum text here:

I’ve attached the screenshot of the visual glitch.