Hide animations

Animations that are out of sight are now hidden
Prevent crash in animation

Completion of last commit