To me this is actually something that should be fixed in pygfx, but as a quick workaround you can just do .replace ("\r\n", "\n"). Maybe this doesn't happen to wheels built on CI, but I am on editable ...
Users are reporting situations where they try to make the application smaller, which leads to the U/I becoming unresponsive even though the window can still be moved around. I've also seen this happen ...