Fix Direct3D extended mode fullscreen bug