properly enable hi-dpi support

Authored by cullmann on Oct 13 2019, 4:33 PM.