Restructuring of submerged generation

- bounding box gets expanded before other checks
- prevents structures from expanding into one another and faulty
distance checking
- fixed ocean dungeons having ledges
- fixed boss dungeon event activating too early