Fix x display (with a hack)