Fix to cursor position.