Fix a bug related to text area wrapping