Upfront issue with link type of images in Gallery element

If we add a Gallery element with Links instead of Lightboxes
https://monosnap.com/file/CmQfonwAjC9Q1XfcJisl9zGo4TCaOz
and we add an image with a lightbox link, then we lose the Link options in this image and we're getting the Lightbox settings instead.

For example, the first row has Links (anchors) while the second row has lightbox links that now are being displayed like Lightbox options instead:
https://monosnap.com/file/QRhjLnfjGoQaTJ8sbQrVdynjQ8M7Ei