fix sync animations in multilayer mode