Finally fixed the centering issue with the button group.