More tweaks to projectile code