Fix transformMatrix not affecting text. Closes #1031