Check mouse down event true.

Fix the following problem:
if mouse down out side a button and mouse up on a button,
button click event occurs.