Corrected the way that canvases are saved.