Repository: stable-diffusion-webui
Issue: [Bug]: Inpaint "Only masked" with inpainting models not working in 1.7.0
Labels: bug-report

### Checklist

- [ ] The issue exists after disabling all extensions
- [ ] 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?

To fix the eyes in the image I mask the eye area. But in Webui v1.7.0 inpaint "Only masked" with inpainting models produces output image same as input with any settings (Denoising strength, Seed, Sampling steps, CFG). With regular model (not Inpainting) image changes. I tried using two different models: "absolutereality_v181INPAINTING.safetensors" and "realisticVisionV51_v51VAE-inpainting.safetensors" downloaded from civitai site. No results with both.

### Steps to reproduce the problem

1. Go to img2img inpaint tab.
2. Select "Only masked" mode.
3. Create masked area on the input image.
4. Set any settings in generation parameters
5. Press "Generate"

### What should have happened?

The image below the masked area should change depending on the options you select.

### What browsers do you use to access the UI ?

_No response_

### Sysinfo

    "Platform": "Linux-5.8.0-2-amd64-x86_64-with-glibc2.31",
    "Python": "3.11.4",
    "Version": "v1.7.0",
    "Commit": "cf2772fab0af5573da775e7437e6acdca424f26e",
    "Script path": "/root/1data/apps/local/stable-diffusion-webui",
    "Data path": "/root/1data/apps/local/stable-diffusion-webui",
    "Extensions dir": "/root/1data/apps/local/stable-diffusion-webui/extensions",
    "Checksum": "0c445b30edc7411197bd51923d6191285f94932a02eba287aa0734526e1329dd",
    "Commandline": [
        "launch.py",
        "--opt-sdp-no-mem-attention",
        "--no-half-vae",
        "--upcast-sampling",
        "--no-hashing",
        "--medvram",
        "--always-batch-cond-uncond",
        "--autolaunch"
    ],
    "Torch env info": {
        "torch_version": "2.1.0",
        "is_debug_build": "False",
        "cuda_compiled_version": "11.8",
        "gcc_version": "(Debian 10.2.1-6) 10.2.1 20210110",
        "clang_version": "11.0.1-2",
        "cmake_version": "version 3.26.3",
        "os": "Debian GNU/Linux 11 (bullseye) (x86_64)",
        "libc_version": "glibc-2.31",
        "python_version": "3.11.4 (main, Sep 14 2023, 15:29:16) [GCC 10.2.1 20210110] (64-bit runtime)",
        "python_platform": "Linux-5.8.0-2-amd64-x86_64-with-glibc2.31",
        "is_cuda_available": "True",
        "cuda_runtime_version": null,
        "cuda_module_loading": "LAZY",
        "nvidia_driver_version": "545.23.06",
        "nvidia_gpu_models": "GPU 0: NVIDIA GeForce RTX 2060",
...

### Console logs

```Shell
Loading weights [7e16c94105] from ../stable-diffusion-webui/models/Stable-diffusion/absolutereality_v181INPAINTING.safetensors
Loading VAE weights specified in settings: ../stable-diffusion-webui/models/VAE/vae-ft-mse-840000-ema-pruned.safetensors
Applying attention optimization: sdp-no-mem... done.
Weights loaded in 90.2s (load weights from disk: 4.2s, apply weights to model: 85.8s, load VAE: 0.1s).
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:06<00:00,  3.23it/s]
```


### Additional information

_No response_