I think it shouldn't be inside the main panel at all. And it shouldn't be rattling around loose anywhere. At least bolt it to the outside of the panel.