protected internal virtual void BeginDraw() { Screen.SuspendBatch(); mPreviousViewport = Screen.Game.GraphicsDevice.Viewport; Viewport viewport = new Viewport(LayoutRect); Screen.Game.GraphicsDevice.Viewport = viewport; }