Fix issue with flags on dark theme