Fix references to native event