Fixes bug with text entities not being redrawn