Clean up event binding logic for Bezierizer and CssPanel components.