Fixed cursor in insert mode.