Use OffscreenAutoDrawable instead of Pbuffer in rs.GBuffer.