 				target.scrollRect = origScrollRect;
 			}
 					
-			if (target is Container)
+			if (target is IContainer)
 				target.rawChildren.removeChild(effectMask); 
 			else
 				target.removeChild(effectMask); 	

import flash.geom.Rectangle;
import flash.utils.getTimer;
import mx.controls.SWFLoader;
import mx.core.Container;
import mx.core.FlexShape;
import mx.core.IInvalidating;
import mx.core.IUIComponent;
import mx.core.mx_internal;

			// For Containers we need to add the mask
			// to the "allChildren" collection so it doesn't get
			// treated as a content child.
			if (target is IContainer)
				target.rawChildren.addChild(effectMask); 
			else
				target.addChild(effectMask); 
