Sword tip On Drop

I am developing a 2d game in which the user drags and drops a sword. I want the sword position to be the same as the mouse position when dropped . At the moment, when I release the mouse, the sword tip moves to the mouse position. The tip of the sword moves to the mouse position when I drop the sword. How do I drop the sword in the same position as the mouse without the tip of the sword moving to the mouse?