Port the SVG changes from contao/core#7108

- contao/core@15201d0aa22ae777dd977bd368f49f849a64ee83
- contao/core@5858e97d73cf1174e6dcc867c28c0950524311a1
- contao/core@a2b95a2eb6a984377ff57154bdd4547cc69b7dd6
- contao/core@953d3617b1747d10dcb5f159fa69b101ba128fd5