clearRect pays attention to canvas size