Return a dummy control function if the distance is zero