                 }
                 loader.unload();
 
-                // remove from hierarchy
-                if (loader.mask != null) {
-                    rawChildren.removeChild(loader.mask);
-                }
                 rawChildren.removeChild(loader);
 
             } else if (_media is VideoDisplay) {

    }

    /**
     * Called during loading as we figure out how big the content we're
     * loading is.
     */

        info.addEventListener(ProgressEvent.PROGRESS, loadProgress);

        // create a mask to prevent the media from drawing out of bounds
        if (maxContentWidth < int.MAX_VALUE &&
                maxContentHeight < int.MAX_VALUE) {
            configureMask(maxContentWidth, maxContentHeight);
        }

        // start it loading, add it as a child
