Pop up menus stop working after a while

I noticed this issue only appeared on my 4k screen. If I drag my window to a 1080p screen, the black menu issue goes away.
It’s an interesting clue to take into account