don't crash if text in TextBox doesn't fit in the screen

useless code cleanup