Combined leveler and z endstop pin