Repository: stable-diffusion-webui
Issue: [Bug]: XYZ plot + ControlNet Batch
Labels: bug-report

### Checklist

- [X] The issue exists after disabling all extensions
- [X] The issue exists on a clean installation of webui
- [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [X] The issue exists in the current version of the webui
- [X] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet

### What happened?

When using XYZ plot with batch input in ControlNet only 1 image for each input image is generated, the settings of the XYZ plot script are somewhat ignored. The generated grid image only shows "black" images.
Type of attribute driven by xyz-plot script does not matter, even "simple" setting like cfg&seed won't work

"Allow other script to control this extension" is enabled under Settings -> Uncategoriezed -> ControlNet

Single image in ControlNet with XYZ-plotting : works
Batch input for ControlNet without XYZ-plotting : works


### Steps to reproduce the problem

1. enable ControlNet and select control type
2. choose batch folder (with a few input pictures)
3. choose X/Y/Z plot under "scripts"
4. choose type for x & y (eg seed & cfg) with 2 comma separated values each
5. generate

### What should have happened?

For each image in the input folder a full set of images according to XYZ-plot settings should be generated

### What browsers do you use to access the UI ?

Google Chrome

### Sysinfo

can't find this option/setting

### Console logs

```Shell
6 input images in folder 2x2 grid, should be 24 images generated, only 6 are done

X/Y/Z plot will create 4 images on 1 2x2 grid. (Total steps to process: 80)
                                  controlnet batch mode
2024-01-04 17:15:25,799 - ControlNet - INFO - unit_separate = False, style_align = False
2024-01-04 17:15:25,800 - ControlNet - INFO - Loading model from cache: control_v11e_sd15_shuffle [526bfdae]
2024-01-04 17:15:25,827 - ControlNet - INFO - Loading preprocessor: shuffle
2024-01-04 17:15:25,827 - ControlNet - INFO - preprocessor resolution = 512
2024-01-04 17:15:25,897 - ControlNet - INFO - ControlNet Hooked - Time = 0.10109138488769531
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:07<00:00,  2.60it/s]
2024-01-04 17:15:34,226 - ControlNet - INFO - unit_separate = False, style_align = False 20/80 [00:07<00:21,  2.75it/s]
2024-01-04 17:15:34,227 - ControlNet - INFO - Loading model from cache: control_v11e_sd15_shuffle [526bfdae]
2024-01-04 17:15:34,344 - ControlNet - INFO - Loading preprocessor: shuffle
2024-01-04 17:15:34,344 - ControlNet - INFO - preprocessor resolution = 512
2024-01-04 17:15:34,423 - ControlNet - INFO - ControlNet Hooked - Time = 0.19918107986450195
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:07<00:00,  2.62it/s]
2024-01-04 17:15:42,636 - ControlNet - INFO - unit_separate = False, style_align = False 40/80 [00:16<00:14,  2.73it/s]
2024-01-04 17:15:42,637 - ControlNet - INFO - Loading model from cache: control_v11e_sd15_shuffle [526bfdae]
2024-01-04 17:15:42,664 - ControlNet - INFO - Loading preprocessor: shuffle
2024-01-04 17:15:42,664 - ControlNet - INFO - preprocessor resolution = 512
2024-01-04 17:15:42,740 - ControlNet - INFO - ControlNet Hooked - Time = 0.10709786415100098
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:07<00:00,  2.78it/s]
2024-01-04 17:15:50,486 - ControlNet - INFO - unit_separate = False, style_align = False 60/80 [00:24<00:07,  2.80it/s]
2024-01-04 17:15:50,487 - ControlNet - INFO - Loading model from cache: control_v11e_sd15_shuffle [526bfdae]
2024-01-04 17:15:50,495 - ControlNet - INFO - Loading preprocessor: shuffle
2024-01-04 17:15:50,495 - ControlNet - INFO - preprocessor resolution = 512
2024-01-04 17:15:50,584 - ControlNet - INFO - ControlNet Hooked - Time = 0.10109210014343262
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:07<00:00,  2.77it/s]
2024-01-04 17:15:58,390 - ControlNet - INFO - unit_separate = False, style_align = False 80/80 [00:32<00:00,  2.72it/s]
2024-01-04 17:15:58,390 - ControlNet - INFO - Loading model from cache: control_v11e_sd15_shuffle [526bfdae]
2024-01-04 17:15:58,402 - ControlNet - INFO - Loading preprocessor: shuffle
2024-01-04 17:15:58,403 - ControlNet - INFO - preprocessor resolution = 512
2024-01-04 17:15:58,483 - ControlNet - INFO - ControlNet Hooked - Time = 0.09708786010742188
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:07<00:00,  2.76it/s]
2024-01-04 17:16:06,266 - ControlNet - INFO - unit_separate = False, style_align = False
2024-01-04 17:16:06,266 - ControlNet - INFO - Loading model from cache: control_v11e_sd15_shuffle [526bfdae]
2024-01-04 17:16:06,275 - ControlNet - INFO - Loading preprocessor: shuffle
2024-01-04 17:16:06,276 - ControlNet - INFO - preprocessor resolution = 512
2024-01-04 17:16:06,336 - ControlNet - INFO - ControlNet Hooked - Time = 0.07406759262084961
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:07<00:00,  2.70it/s]
Total progress: 120it [00:48,  2.47it/s]
```


### Additional information

_No response_