It should be noted that DJI agreed to cooperate with a formal U.S. Government audit of its systems. The govt. has ignored this completely, because this isn't about any relatively higher security risk from DJI than that posed by uncountable other...
There's your problem, the roof is steel and that's caused teh drone's compass to read improperly.
You've just been lucky in the past, but not this time.
The incident had nothing to do with the slope of the roof ... it was all about the magnetic...
Maybe you didn't get the details right?
DJI has had 1" sensors in drones since 2016 and the Mavic 2 pro had one in 2018.
The Mavic 3 and Mavic 4 have had 4/3 sensors for a couple of years now .. that's almost twice the size of the 1 inch sensor...