badges: fix overflow in progress bar