Avoid modifying x and y when computing z-value for well head pipe
p4#: 22153