Fix backspace behavior