Window states patch(remake).

Now it must be correct. Remake https://github.com/mono/MonoGame/pull/1859.