Animation in UI layer

Hello. I’m trying to add some animation to UI layer and ran into an issue with object render order. If I insert a single sprite image it shows ok, but if I insert an animation it displays somewhere under all UI elements though all objects are in the same layer UI.
Some illustration:

Please help.

I’ve resolved it by animating Image.Sprite instead of Sprite.