Fix vertical button groups not stacking when a radius or round class is added, fixes #5909