Animation problem using image UI

Hi. How can I solve the animation problem using image ui. When I use sprites and spriterenderers, there is no problem at all. If I use image UI, their scales and pivots are not correct

Maybe you want to provide some more information.
What does the animation do and how are the scales and pivots not correct?

It is a spritesheet. If I drag its sprites and drop them inside the hierarchy, an animator is created correctly but for spriterenderer not image UI. The animation created properly and resized correctly in normal way (SpriteRenderer)
The sprites have their own size and do not have the same size.

Ah, okay… well, hopefully someone can help you with that. I have no idea.