fix small problems with updating the distance when the units change.
fix small problems with updating the distance when the units change.

asir6/FusionLab,asir6/FusionLab,asir6/FusionLab,asir6/FusionLab