Fixed Dungeon segfault.
There is still a situation in which you enter dungeons and no blocks are visible
and the game just freezes.  Not sure why at this point.