I am assuming when you say it drops the Z that the whole axis falls into the work piece?
Most machines in this situation install a Z axis brake of some kind that comes on when servo power is on.
This is often anything from a magnetic brake on a rotating shaft or motor to a Hydraulic operated solenoid etc.
Al.