Fixed svg handling when inlining.