Make backspace work as expected.