Changed Fog to pick the smallest out of the render distance and fogginess