It works better since i ve removed a lign :
This was causing me so many troubles... With your clue about offset, i saw on zgoo that my defaults were updated by the move.
From a
Lua Code:
settings.x = UI:getLeft();
And do defaults.x = settings.x = UI:getLeft()...
***
I m using
Lua Code:
UI:ClearAnchors()
UI:SetAnchor(TOPLEFT, GuiRoot, TOPLEFT, defaults.x, defaults.y)
AddOn.OnMoveStop()