Make sure you can undo the last move.