Fixed cursor position after cut