Fixed game close problem