Fix crash when rendering SVGs that display nothing
Fixed a crash caused by unwrapping a None value in Rust, which was caused by a function trying to parse an SVG image that contained no renderable parts. The image that produced the issue is shown below.
<?xml version="1.0" encoding="UTF-8" ?>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<script>alert("please fix");</script>
</svg>