Absolute position element is not moving in the instance

I created a card component with one of the elements (check icon) with an absolute position and set the element’s constraint to the top and right. However, when I try to resize the instance from the main component by holding the right border, the element remains in the same position as I expected the element should stick to the right border when I try to change it.

The weird thing that I found out is that if I create this element (check icon) to a component and paste the card component, it suddenly works. I’m glad that I solve the issue but I just want to know what’s the reason behind this and whether there are more tutorials or explanation of this.