Added backspace behavior (delete char before cursor)