On Firefox running on Wayland, when I screenshare any XWayland window, it looks all corrupted like this:
But sharing native Wayland windows works perfectly. What could be causing this?