R studio black when using airplay

Hi, I'm on a mac on mac OS mojave. Whenever I try to use airplay to display my screen on an apple TV, my R studio screen turns black. No other program turns black. Any suggestions on how to figure out this problem? Thanks!

Have you tried turning on software rendering?

Ah, yes changing that did the trick!