Removed the trailing whitespace when wordwrapping a textfield