Fix enter/exit analyze mode in the middle of a multi-move