Disallow invalid moves.