[gui] Address situation where applying style enables deprecated labels