When trying to update the maskFrame, there is a chance that it is already
shared by several instances of FrameSvg. In that case, do not wreck maskFrame
and instead act as follows:
- deref it
- try to lookup a matching frame in the shared frames
- if there is the matching frame, use it
- otherwise create a new one