Fixed error when a projectile hit a player.