Fix XtkEventX11 issue