Pictures in Attachment dont open while using FireFox as an Agent

Pictures in Attachment dont open while using FireFox as an Agent

When a picture is attached to a ticket, the agent who is using "FireFox" as a browser cant open the picture.

When clicking on the picture it will not load and just show an infinite loading spinner. Downloading the picture and open it is working only clicking on the picture and opening it directly in the ticket is not working.

Agents using "Edge" or "Chrome"  as a browser can click on the attached picture and open it in the ticket as a preview window.