Correct canvas Refresh() logic when OpenGL FBO is in use.