Works now on high DPI. Need to add auto detection