I have no idea what causes this, but every few hours, something to do with how macOS displays text in the Menu fails to display. Additionally some windows, such as the shut down dialog box just show up as black.
This problem is solved by logging out and back in again, but not by simply locking the OS. I would presume that restarting also fixes it.
What causes this to happen, and what can I do to fix this?