The current implementation of RESUME moves the tool head diagonally (in Z) to the XYZ position where the toolhead will resume.
This can lead to a nozzle catch/crash and layer shift if there is any curling, warping etc.
I think it would be ideal to at least have an option to move first to XY position then down to Z to minimize the chance of any nozzle catch/crash.
In mainsail there is a parameter for Z height to lift on pause above the pause/resume position. This same z height could be used here.
Just as it makes sense to lift on pause it makes sense to unlift on resume.
Nozzle catch/crash/layershift when hitting a curled edge or something else.