It appears that the PolySpatial node Volume-to-World is changing behaviour when a shader keyword is enabled. Probably triggering a recompile for the shader and this somehow affects the Volume-to-World output.
My guess is that the Volume-to-World is using the default volume camera values (1,1,1) and updates this only when the shader is recompiled.
Before:
After:
Shadergraph Shader:
https://unity3d.atlassian.net/servicedesk/customer/portal/2/IN-62740