Fixes bug with spawn positions