OF4 closes on my Mac when I replicate on my iPhone

Well, it does not shut down the application on the Mac Mini but only closes the window so I have to either start the application again or open the minimized window again, which happens sometimes.

Any clue if there is some setup on the Mac that I have forgotten?