fixed high dpi scaling issues