Edit: So I deleted a weakaura that was used for tracking Raid cooldowns and the problem doesn't occur any more. Thanks for the suggestion!
So in the middle of my screen this box shows up:
I took a picture of the /fstack also, in case it would help:
Is there any way to find out what is causing this? Thanks everyone!