Workaround for html5 nme bug of TextFieldType.INPUT