Fixes for weird title bar behavior between different styles.