fixed positioning issue for custom-DPI systems