Fix event blocking that may occur  in simulated event triggering.