Lottie animation not working properly in Safari

Hey there. I made a Lottie animation. And it works with all browsers but Safari.
When I see it from Safari the animation is suddenly cut in half and then resized like 4x the actual size, then blinks for a bit and then goes back to regular size.

I tried uploading the preview in lottie from Safari, and the preview looks weird. But when I upload from any other browser, the preview looks good: