Sweden narrowly escapes disaster in World Cup