Make backspace work the way it is expected to