         }
         else
         {
-            event.value = getVisibleApplicationRect(event.value as Rectangle);
+            event.value = getVisibleApplicationRect(event.value.bounds as Rectangle);
             event.preventDefault();
         }
 

            bridge.dispatchEvent(bridgeRequest);
            bounds = Rectangle(bridgeRequest.data);
        }
        
        return bounds;
    }

	
    public function getVisibleApplicationRectHandler(event:Request):void
    {
		var skipToSandboxRoot:Boolean = event.value.skipToSandboxRoot;
		
        var sbRoot:DisplayObject = systemManager.getSandboxRoot();
        var screen:Rectangle;

        if (skipToSandboxRoot && systemManager != sbRoot)
        {
            var request:InterManagerRequest = new InterManagerRequest(InterManagerRequest.SYSTEM_MANAGER_REQUEST, 
                                    false, false,
