Solved a bug causing the game to crash (creating a new chunk after the initial display)