Unfortunately looks awful when your DPI is not an integer ratio (white gaps everywhere).
Common problem in "pixel" UIs on the web, anything that wants pixel fidelity needs to use `window.devicePixelRatio` to scale everything to integer physical pixel coordinates.