Fixed warning about unused badgeMargin