fix #785: cache scaled twice in scaled canvas.