Revert "Avoid error on finding SVG elements"

This reverts commit b32220c323e9f053230976479286062dfb0ae66d.