Bootstrap related fixes for the theme module.

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| License       | MIT