Added additinoal logic to spawnengine preventing spawning in the path of
projectiles