 
         if (endView)
         {
-            navigatorProps.endViewIncludeInLayout = endView.includeInLayout;
-            endView.includeInLayout = false;
-            
             navigatorProps.endViewCacheAsBitmap = endView.contentGroup.cacheAsBitmap;
             endView.contentGroup.cacheAsBitmap = true;
         }

        
        if (endView)
        {
            endViewProps = { includeInLayout:endView.includeInLayout,
                cacheAsBitmap:endView.cacheAsBitmap,
                opaqueBackground:endView.opaqueBackground};
            
            endView.includeInLayout = false;
            endView.cacheAsBitmap = true;

            // If the endView has an opaque background color, set that as the 

            
            if (endView)
            {
                endView.contentGroup.cacheAsBitmap = navigatorProps.endViewCacheAsBitmap;
            }
            
