This sounds like an internal short in the speaker. The speaker worked when not mounted, but stopped working when mounted. If that pattern holds up, check for a short between the speaker frame and either connector prong.