This is probably not necessary but might fix an issue where errors pass through to other parts of the program, possibly causing the crash on exit related to the xcomposite capture.