Fixed EntityDamageEvent related bugs