fix for high-dpi devices