Fix multiple event triggering problem.