Not sure if this is related to the issue at hand, but I remember hearing that light fog does not work that well with raytracing shadows, they work better with depth map. I don't know exactly what the issue is with raytracing shadows and light fog though.