Ya man ..
That's probably not a compass issue..
Would have flown like crap from the get go..
Thinking firmware maybe?? Or flight controller??
I knew a guy who this happened to ..well it was quadzilla (where's he at)
Think it was a firmware issue..
That's crazy to have it out that far and have it go nuts!!
I hope you're using a screen recording device or app???
Might shine some light onto what's going on..
Turbo...