performance issue when OffscreenRenderingMode = "pbuffer"