Indee, in my DC controller, i have even used just foam, to keep some rather long caps from vibrating.
I would not mind, it beeing unrepairable, if it would be unbrakable.
But isnt only the case beeing broken there? Nowadays, you can easly manufacture those! Or just use a metal box, i does not have to look pretty.