Be less "magical" and incorporate the fit-check in textheight()

In case there is a problem, textheight() returns 0. This is then
checked for in messages_draw.