Corrected error: incorrect syntax for 'line' preserves loaded canvas