Bugfix for enable/disable methods for Buttons
Bugfix for enable/disable methods for Buttons

Fixes https://github.com/openseadragon/openseadragon/issues/2185
openseadragon/openseadragon,openseadragon/openseadragon