Update CanvasGeometry.js