Attempt at fixing DPI issues on hi-res displays