Wrong drag and drop widget location

After setting as below, the UI just spawns in the upper part, how can I fix it??

DefaultDragVisual = pSlot;
    Payload = pSlot;
    Pivot = EDragPivot::MouseDown;

Hi,
Not sure exactly how to fix it, but you will need to do a bit of math with viewport size and mouse position, so when you get the appropriate offset for the dragged widget.