I realize this is something that probably resulted from a randomly generated room but there must be some fix for it in the dungeon generation code. I've gotten stuck on the same room in the 4th dungeon twice, because an enemy will hang out in some corner of the room where I can't get to it. It's happened with the bat and the spider. I need to kill all the enemies to leave the room but I can't. I've had to revert to my last save to escape the room. Maybe in a future version there could be a requirement that enemies have to move around the room if you need to kill them to escape.