fix mouse click / hide behavior, should close #10