Changed the spawning algorithm. It should now be good for all stationary entities.