Hey Keith,
if you don’t want to file away the Makita housing, you can move the stepper up, like the 65 mm spindle people must do.
Or you attach some stop for homing to force it to bump on it before it reaches the end of travel, like Bill @Machinist showed on X axis, but you loose effective Z travel then. See also Stops for Homing. This way it would not bump against the router housing during stall homing.