Fixed crash when drawing empty text.