Fixed a bug in the Distance Measurer Tool