Prevent spaces from being clicked after game has ended