I have (on the left) this component in my design system that keeps different styling of icons and algo allows me to swap it to an image…
Recently Figma started to mess up with the internal icon position even though all settings possible are set as "center". When I first swap to the component, it appears correct, but as soon as i click outside the instance, the positioning gets messed up.
What else could be possibly happening?

