text box splits up text after a resize