attempt at resolving fog issue# 2748

@geemus please confirm this looks sane to you :)