Fixed undo move and undo turn when playing with an AI.