7942: fix SetCanvasOrigin , arrange code in MyCanvasGL