fixes cross browser svg issues