Fixed one problem with animation init.