That foam doesn't look up to the job — I'd be surprised if that is all that's holding up the bridge pickup on mine.
When I built a bitzer fretless precision about 15 years ago, I cut up a fabric topped neoprene mousemat (50p from ikea at the time) and stuck several layers stacked up to make a firm cushion. It worked like a champ and is still holding up.