Workaround for a particular bug in X Server.