Fix endstop homing - thanks Jeff