Fix for unknown spawnentities crash