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