Fixed a minor bug in Game::isMoveValid