clear the canvas between redraws