Animations work correctly