Added missing conditional for SVG loading.