Removed flickering at end of animation