Traces around the edge of the driver board can short against the rail. I have had the same thing happen when the driver board is flopping around because all the plastic mounting things where snapped off. Rubbed against the bracket until the solder mask came off and then locked a coil on.
There is high voltage at that connector and the pitch is only a tenth of an inch. Sticky flux and then enough conductive coil dust land on there I can see it throwing sparks in case like that.
Q16 out to coil and +230v are right next to each other at that connector. If Q16 is locked on or the bracket is shorting against trace that is a path to ground for high voltage.