Custom Function not working properly?

Is this intended behavior or something funky has been going on?

I’ve just expent some hours trying to adapt one of my shaders to Shader Graph, only to realize that the issue was here:

Basically what _TexelSize returns as X, is actually Texture Size Z. Y on _TexelSize is W.
X is Z on the Texture Size Node and Z is Y.

Sure, a simple Vector 4 “change things around” like the image shows do the trick, but shouldn’t these two functions match?