Frame constraint is not behaving as expected

Hi,

I have set the constraints as “top-right” but it keeps sticking to the “top-left”.

Kindly, suggest !

Constraints work as expected! Notice the dotted lines in your screenshot.