Fixed the dungeon generation issue.