I've just changed the motherboard on my Ender 3 Pro with a MKS GEN_L v1.0 and flashed the latest Marlin version on it.
I've calibrated my bed manually using the default XY and Z auto home commands on OctoPrint and a piece of paper.
I'm happy with the calibration, however whenever I launch a print the Z axis moves up from the calibrated position by about 4 mm and starts extruding.
I've checked my Z endstop status with
M119 and it's triggered at the right calibrated position.
How can I correct this?