[Bug 14272] Maximized and restored state not reported properly by GetWindowPlacement