Fix Renderer.copyFrameBuffer() exception