Bug fixed for Textfield in Errand handling.

If I want to go back and change something in the middle of a text,
Its can be able to type only one character and then the cursor is moved to the end of the text.
Merge branch 'Bug-fix-3963-textbox-jumping-after-writing-in-middle-of-text' into release-3.8.0