fixed button reappearance issue