fixing projectile behaviour