Fix foreignObject innerHTML on Safari