Restore cursor position on insert-mode