extended the ReconnectAnimData call when dealing with mergedLayers