Fixed Game Crashing Bug