widget hiding fix