Fix compilation error where the incorrect event type was checked for cancellation.
Fix canceled events getting respected by the GravityDamageTracker in a terribly hacky way.