Animations now work properly