Jankily fix input group wrapping with button groups in Firefox (fixes #8321, #8429, and #8067)