Black rectangle appears on display
It turns out that this is actually a “feature.” There’s an option in System Preferences → Accessibility → Zoom → Options…:



Unchecking that should remove the rectangle.