Fixed occasional rotation bug with text.