Fixed some fog calculations

Reduced the magnitude of the fog.

There are still bugs with the calculation, but it's better than staring
at a white screen.