Fixed bug with projectiles