Store a visible rect in GraphicsLayers, and optionally dump it in layerTreeAsText