The paeperscop issues fixed preventing the wrong active canvas.
The scope issue sorted but the delete() issue remains.