Bug fix in projectile handler