Container flashes on top of modal

I have a modal that displays when a page first loads, based on a query returning no information. When the modal loads it displays fine, but upon moving the mouse, the container beneath briefly flashes on top of the modal. Moving the mouse more can cause it to go back to normal.


I can't find anything to suggest what is happening, if anyone has a clue please let me know!