Ensure that ActualThemeVariant always has a proper value (#21930)