remove all_group_active_button.   if you want to operate on all tracks, choose select-all-tracks ( ctrl+t in the mnemonic bindings ).  this is more explicit and allows safer use of the deselected-region-under-mouse operations