Added some more code to prevent fog bug for some people. Hopefully it helps.