Fixed bug in hide button.