Shader effect rotating

Hi! I’m developing a card game, and the holographic effect on the rare cards rotates with the cards as intended, but it doesn’t turn back to normal afterwards. Any clues to why it behaves in this way? Here’s a clip of this bug in action:
https://drive.google.com/file/d/1ate8iLpTPkq0G53E63DCmvYMBmobGKhp/view?usp=sharing

This is the script i use to rotate the card:

 public void OnDrag(PointerEventData eventData)
{
     if (canBeDragged)
     {
         this.transform.position = eventData.position;
         transform.rotation = Quaternion.Lerp(transform.rotation, Quaternion.Euler(-30,-30,0), Time.deltaTime * 5f);
     }
}

And this is the shader graph of the effect:

Thanks for your help!

You can debug this, just pause the game when that happens and try to inspect the canvas or whatever that is, check and move some positions or rotations. I guess this is related to order of sprites or you break your image in some other way, but I am unable to tell as you show us only 8 lines of code. In any case I doubt it’s caused by shader.