Fix container definition when using MapOpacitySlider in a toolbar

Fix issue #410 
Thanks @lbesson for the tip.