#3 Fix HiDPI detection
Merged by ngompa. Opened by marcan.