clearRect instead of width to clear canvas