Fix bug for keypressed backspace