Absolute positioned element within auto layout with constraints doesnt move on scaling

I have a component with a background icon. That component needs to be able to scale and the icon should stay in the lower right corner:

This is the component tree

Bildschirmfoto 2024-10-02 um 12.56.08

And this the setting of the Background Icon

Bildschirmfoto 2024-10-02 um 12.54.46

When I scale the original component it looks right

Bildschirmfoto 2024-10-02 um 12.57.56

But when I insert the component and scale it looks like this

What do you mean?

Can you share a file so I can take a look?