Textbox display in edge cases has been improved.