[Bug 272715] Display corrupt when switching from GDM to XDM