fix viewport on high dpi screens