Fix frame positioning when using a scale on the parent frame