Small memory optimization in cam.Capture by not creating a canvas until one is actually needed.