 			}		
 		}
 		
-		invalidateBorder = target is Container && 
-						   Container(target).border != null &&
-						   Container(target).border is IInvalidating && 
-						   DisplayObject(Container(target).border).filters != null;
+		invalidateBorder = target is IContainer &&
+                           "border" in target && 
+						   target["border"] != null &&
+                           target["border"] is IInvalidating && 
+						   DisplayObject(target["border"]).filters != null;
 	}
 	
 	/**

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;

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