I think what you did is smart, but you can avoid having to do it in the future if you get black expanding foam. I like to use the Tetra foam sold for ponds (Lowes has this in many stores). The black is a lot less in your face, and if you miss a piece when you cover it with silicone and background material, it doesn't look as obvious as other colors. All in all, less work to go with black.