CanvasReadyCallback fixed