Not sure what type of speakers you installed but I have seen listings for magnetically shielded speakers for use with old-style CRT color TV sets (magnetic fields from regular speakers could cause convergence problems with color CRT displays). If you can find similar sized shielded speakers,might be able to substitute in your existing cutouts. Maybe Marine speakers are shielded. Other possibility, if you have space, might be to fabricate your own metal shields to install around the speakers you already have. Think I remember seeing a term "mu-metal" shielding that was sometimes installed around strong magnetic fields like power transformers and speakers. Has to be a metal that will shunt magnetic fields. (not aluminum or many types of stainless).
I remember seeing an interview with comedian Jerry Lewis who told a story about deciding to put a "Hi-Fi" (google it , youngsters) on his professionally-skippered boat - one speaker at the bow, other at the stern. An hour out of L.A. they noticed the compass seemed stuck. Think they hailed another boat to follow to Catalina and later discovered the speakers had captured the compass.