Fixed scaleCanvas() example