Fixed a misbehaving button.