fix AGroupBox.button_press()

Closes #306