Adding onto this, it’s best to avoid using offset as this is what causes the UI to become displaced in the first place.
I personally don’t use plugins myself to scale UI as simply changing the scale (and not the offset) for UI in the properties works just fine.
Another thing, if you want UI to be perfectly square or a specific shape for all devices, consider adding a UIAspectRatioConstraint inside it! There are also other Constraints you can use to make change your UI to your own preferences!