fixed minor bugs and banner offset problem when using high dpi settings