RiccardoBlb did helped with in the past with a similar problem:
But I don’t have the knowledge to apply the fix in this shader