Fixes collision bug with projectiles.