Somehow fixed the spawning problem