There's a buggy behavior when hitting the backspace or the left/right/up arrows after any key which forces the cursor to jump the start of the line See: 