Bug fixed an issue with animations