      */
     override protected function attachOverlay():void
     {
-        rawChildren_addChild(overlay);
+        rawChildren_addChild(effectOverlay);
     }
 
     /**

            vm = viewMetrics;

            // Set the position and size of the overlay .
            if (overlay)
            {
                overlay.x = 0;
                overlay.y = 0;
                overlay.width = unscaledWidth;
                overlay.height = unscaledHeight;
            }

            // Set the positions and sizes of the scrollbars.

            needHorizontal ||
            needVertical ||
            hasNegativeCoords ||
			effectOverlay != null ||
            vm.left > 0 ||
            vm.top > 0;

