Fix npc spawning in dungeons