Well, I believe you have to see a being to make a ranged touch attack anyways, so it should be a problem. Now, if the door was open the fog could enter within and that'd be a different thing all together.