UI Mask and stretching

Hello there,

Is it possible to have an image masked using a mask component and at the same time use anchors to have this same image sized properly on every screen ?

When I try to achieve this, the image is resized instead of masked because the anchors do their job.

I solved this using Image Type filled.