Fixed high dpi-related bug