Fixed error caused by projectiles from dispencers

Fixed error showing in the console when a projectile is shot from a
dispencer.