Constant UI Glitches with mouse

I have no idea how to describe this issue. Here’s what it looks like. It seemingly happens with every menu, but the palette menu the largest. When you drag around the mouse, the display glitch changes. I found another post about something similar, but not the same, and it’s almost 4 years old.

I’m using a MacBook Pro with OS Ventura 13.5.2 and a M1 chip. I compiled aseprite from source instead of purchasing it.