Object jumps to the center when dragging it

How do you use IBeginDragHandler and set position of drag to stay consistent and not suddenly switch to center of a GameObject? This is my simple code to grab and object and release them in a new