Fixed the mouse click on UI.