Fix agentSpawner declaration in game state