fix #697 ESC in Textfield resets the input to is previous value in FF