The problem seems to be a Shader Graph + Unity UI issue as the shader was working fine with a sprite renderer
I’ve fixed it with noahabannister solution here Shader Graph UI Image Shader
I had to get the shader code of the shader graph, and edit the Blend and the ZTest to fix it as stated on that post.