Use ctx.clearRect to wipe the canvas, as it's more efficient