fixed glitch in distanceeffects