Update canvas.js

The chars with measuredWidth less then width look terrible after scaling. Let to move it in center instead of scaling.