minor fix for fadedistance