If the screenshot is too big (easy to have with 4K monitors), xdp-kde can hit the recursion limit and crash. (cherry picked from commit b8547980)