Fixed dungeon generating outside of the bounds of what is possible.