Fix X errors when restarting/exiting.