Black boxes and notifications on macOS Catalina

macOS Catalina on a Mac Mini from Mid-2011. Yes, that is possible, but then you (might) get black boxes. Read about some suggestions on how to get rid of them!