Check window.devicePixelRatio and scale canvas accordingly for Hi DPI screens (retina).