disables selecting pieces if the game isn't in progress in GamePage