Fixed cancelEvent