Bug 862817 - Fix animateMotion on foreignObject elements. r=dholbert