Fix bug with current line in insert mode