Fix online/offline badge not showing