Fix spawning problems if fewer than 5 spawn positions provided