Fix missing charater and forbid catch the return key in text fields (issues #1 and #2).
Closes #1.
Closes #2.