FWIW, I did some more testing, and there does seem to be an issue in Xwayland, see bug 99702. I'm not sure if that explains all the issues you're seeing though.