Toggling light/dark theme sometimes produces a grey statusbar for light theme and a slightly wrong dark color for dark theme