Problems with Macro Variations displaying properly on some meshes?

The problem is due to me using Macro Variation. I am using it as part of a world position material. Overall it looks great, however in some places with some meshes it ends suddenly as pictured in the image. Why is this happening, how do I get rid of it?