Improve text field drawing