Scale canvas by devicePixelRatio to support hi-dpi/retina screens