[Animation] Fixed problem with animation file in SVG format (#4249)