Are you possibly talking about the door itself not being there for you to walk back into the room? If you leave a map then the doors reset but yes, this should be addressed.
Yup, the doors and the rooms are on the same map. The floors are separate maps. Making the rooms separate maps would fix the issue but alternatively making the doors close after you go through works too. (The latter was chosen)