nine/ff: fog doesn't affect alpha, fix update condition