Fixes scope problem when using multiple toolbars with different options