      */
     public function marshalMouseOutsideHandler(event:Event):void
     {
-        if (!(event is SandboxRootMouseEvent))
-            event = SandboxRootMouseEvent.marshal(event);
+        if (!(event is SandboxMouseEvent))
+            event = SandboxMouseEvent.marshal(event);
             
         if (owner)
             owner.dispatchEvent(event);

            sbRoot.removeEventListener(MouseEvent.MOUSE_WHEEL, o.mouseWheelOutsideHandler, true);
        }

        sbRoot.removeEventListener(SandboxRootMouseEvent.MOUSE_DOWN_SOMEWHERE,  o.marshalMouseOutsideHandler);
        sbRoot.removeEventListener(SandboxRootMouseEvent.MOUSE_WHEEL_SOMEWHERE, o.marshalMouseOutsideHandler, true);
    }

    //--------------------------------------------------------------------------

            {
                if (systemManager != sbRoot)
                {
                    request = new InterManagerRequest(InterManagerRequest.SYSTEM_MANAGER_REQUEST, false, false,
                                            "getVisibleApplicationRect"); 
                    sbRoot.dispatchEvent(request);
                    rect = Rectangle(request.value);
