* Fixed bugs when processing a click event