WIP: Lightbox issue when choosing a different image source for a breakpoint

Browser: Brave - Chromium 138 (latest)
OS: macOS
Video: https://jam.dev/c/18b211b1-778e-4d49-830e-f86f1439934a

When setting a different image source for a smaller breakpoint and opening it on a lightbox, both the original image and the second one are displayed.