In 2 point probe leveling marlin will not return the z probe if it is outside the software endstops.
So when homing we make sure to be within the endstops.