Make sure to always return the size of an `.svg` image (see #7296)