How can I make these rounded square's child not be seen

I am trying to make it so when I press a button in the back the darker frame/picture is tweened down but my problem is that I can’t seem to make the darker part of the picture not stick out from the parent of the picture, I’m using corner UI which makes the parent have rounded edges and I’m not sure what I can do.

I tried using corner UI on the child to make it when it tweens down nothing sticks out on the corners but it looks weird as it’s not a flat surface

image
https://gyazo.com/ded58bc2eabc9096ee83e6a46f45d9cc

Try setting ClipsDescendants to true.

I did but the image label is a square shape meaning that the child will still be peaking out