Fix actionThenHide