The first thing to eliminate is the code itself, if it has a G54....G59 the code is applying an offset which will override your zero.
Best to at least post code to the point where Z drops below your zero,

- Nick