Enter & Backspace behavior fix