Fix issue where minDist wasn't set to the measured distance when finding
a closer region.