fix the textarea height calculation error