The game was updated last night to fix a minor bug that was introduced in the last update.
You should no longer accidentally teleport into an endless, eternal void of nothingness without warning in the fifth dungeon ... or any other dungeon ... well, most other dungeons.