high dpi bug fixes