Fix for https://github.com/twbs/bootstrap/issues/8959