Fix fog calculation in water shader.