Fix text rendering. Closes #590. Version 1.1.12