Using clearRect instead of width canvas hack, changing fillStyle for scanRanges back to normal level