I suggest getting the offset right before printing, and not before getting the height map via KAMP. If you start without preheating the bed, the offset value will be incorrect, because bed will be warped. And if for the height map this is not entirely critical, then for the offset it is sometimes catastrophic.
Therefore, I propose order
Clear nozzle
Take height map
Take Zoffset
After I changed the order, I no longer have problems with the Z-offset.
The value of the bed mesh is also based on the offset. If the offset value is taken again after the bed net, the bed net value will be incorrect. We'll test your opinion.
I suggest getting the offset right before printing, and not before getting the height map via KAMP. If you start without preheating the bed, the offset value will be incorrect, because bed will be warped. And if for the height map this is not entirely critical, then for the offset it is sometimes catastrophic.
Therefore, I propose order
After I changed the order, I no longer have problems with the Z-offset.