Fixing animation definitions