Fixed the issue with colliding rooms in dungeons.