Problem with axis location inside dynamic components

I’m new to dynamic components. Trying to make an adjustable size window. The scaling part seems to be working fine. The problem is that when I move the components and try to place it in a specific location, it “jumps” out of place. When I double clicked to component I saw that the axis changed place. I placed it again but it keeps changing location inside the component. Any ideas?

Uploading and sharing the DC would help forum members to help you.
Understanding how you composed your (any) DC by just describing it isn’t that easy, especially if something is wrong.

The component is uploaded in 3d-warehouse- “Scaleble simple window”

The provided “name” (or something the like) doesn’t result in finding your model.

Give us better search keywords to exclude unwanted windows.

…or the link to the model directly.