Fixed empty text bbox drawing.

Closes #2698