How do i prevent frames from changing position when exiting UIGridLayout?

i want to implement a dragging inventory system into my game, but i cant figure out how to prevent the guis from changing position when exiting the grid layout (UIGridLayout prevents the guis from changing position so i have to put the dragged gui into a separate folder so the player can move it)