Fix scale and canvas size in Chrome