Fixing move state control bug responding to invalid moves.