Fix a small annoyance with badge text updating causing UI flashing