Update flexbox style rules for compatibility with current Chrome.
Ensure interface mode class name is correct at startup.