Stops projectiles from going through walls

fixes #1507