You must have closed the housing in hot, moist air, trapping moist air in the housing. As the housing cools, the air becomes oversaturated with moisture, consequently fogging up the housing. You need to make sure the air inside the housing is low in humidity. One way could be to close it in the fri...