the whole plastic assembly is only like $15
from allparts.
anyway, i hate those things! they fail way too easily, as in the plastic breaking mechanically, from the wires breaking because of the movement, or from the copper contacts getting bent.
if i had an active bass with a battery compartment, it would be
old music man style, a metal cover plate that was held on with two machine screws going into threaded brass inserts.