[Bug 6353] Some D3D apps don't switch the resolution back after quitting