coordinates are now recomputed to adjust for devicePixelRatio different from 1 (on high dpi monitors)