I have box element that when clicked an SVG element (shaped as an "X") is added as a child. After the svg renders, its shapes are animated by CSS keyframes. The an