Fixes a bug with svgs