@praisetheesun

what's the idea behind Z-axis without microstepping, but then only have 25 steps/mm?

M350 X16 Y16 Z1 E32 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z25.00 E842.00 ; set steps per mm

It's probably not related to the issue, but might not be the best solution...

I was wondering, if your slicer shows any errors related to the .stl file?
Or do you have a small wipe tower enabled that would cause the overshoot thing?