Fix insert mode at beginning of line

PR for #115