+1 all fog of war should dissipate when you open the door, not when you step in the room.
A complex solution is to implement party lines of sight and only reveal the areas of the room characters can see into through the door, and then reveal the room fully when characters enter, but that's not necessary.