Fixed the dungeon out-of-bounds assertion fail.