How can we get accurate landscape position for PCG?

Is it possible that you are also applying scaling and need to multiply by the Z scale, as described in this video tutorial?