Fix beep on exiting insert mode

Hitting <ESC> in insert mode when the caret was in column 0 was
incorrectly causing a beep.