Spawn-out-of-borders fix.