A problem about On Mouse Leave Event in widget

oh! I find the key problem. I should set “set input mode ui only”. Then it will not lose focus when I click mouse button.


But I still do not know why “set input mode game and UI” causes the widget lose focus when I click.