Fixed reference to DEFAULT_ANIM_DISTANCE