...
if (panelContainer.clipping == UIDrawCall.Clipping.None)
{
// Panel has no clipping -- just use the screen's dimensions
float ratio = (mRoot != null) ? (float)mRoot.manualHeight / Screen.height * 0.5f : 0.5f;
rect.xMin = -Screen.width * ratio;
rect.yMin = -Screen.height * ratio;
rect.xMax = -rect.xMin;
rect.yMax = -rect.yMin;
}...