This time really fixed the Dungeon temple and portal behaviour.

Made the destruction of those rooms not crash the game anymore,
and their respective room objects not duplicated when being destroyed.