The little dark spots are inserted neodymium magnets. They have counterparts in the cover.
I thought that might me the case. And I just noticed how deep the route is for the cover, presumably to accommodate the depth of the magnets. Is the cover plastic or timber? (can't tell from the photo)

Also, sorry to Audsten for hijacking his thread! Glad you got a plan to remedy the output jack issue!