Add shapeDeleted callback function.
Add kMgNoClone flag for image shape.