Fix for margin styling being improperly applied to button group descendants.

This change fixes a problem with button margins being applied to any button descending from a button group instead of just applying to the buttons that are children of the button group. In my case, this caused margin styling to unintentionally be applied to buttons in a popover that has a button group as an ancestor. Tested in Chrome.