Atmospheric fog colour material expression broken

Judging by the commit logs and changesets, the issue seems to be fixed both in and 4.13.