When closing full screen app with red X a black full screen stays in that window.
When I close a full screen application with the red X or if I decide to minimize it using the green closing arrows it creates a black screen which I cannot close without quitting the app. For example if I am looking at a photo in a full screen window and I want to minimize it using the green arrow button and then drop that picture into another app, it will just create a black screen in that full size window and the program just stays that way. I can three finger swipe to another window just fine but the photos app no longer works until I quit it and reboot it.
This started happening with Yosemite and it has continued after loading Mojave. Any ideas on how to resolve this. It seems to only happen with my iMac and not my MacBook Pro. (Note: iMac is newer than my MacBook Pro)
Here is a screen shot of what it looks like when I did that to safari.
iMac (Retina 5K, 27-inch, 2017), macOS Mojave (10.14)