Fix#785: cache scaled twice on scaled canvas.