Fix removing of bubbles from the bubble panel. Fix collapsing of the bubble panel.