Fixed NPCs wont spawn on each other, and infinite loop issue