click mouse up outside of function