Stop OnMouseDrag

I control a sprite with OnMouseDrag.

When the sprite is "destroyed", I disable the SpriteRenderer and the Collider. After a while, the sprite becomes visible again.
The problem is that if the mouse button remains pressed in the meantime, the sprite reappears at the current mouse position and is "dragged". However, I would like the sprite not to be dragged and the player has to drag the sprite again.

Is there a solution for this?

Here is my script:

// paste your script here