CanvasReadyCallback fix in progress (not finished yet, but much better now)