#1350: fix maximize/restore/fullscreen cause hidden window to be visible on windows platform

you can use package.json in the issue page, and my test code like this:

<html>
  <body>
    <script>
      var gui = require('nw.gui');
      var win = gui.Window.get();
	  test_maximize(win);
      setTimeout(function () {
        win.show();
      }, 5000);
	  
	  function test_maximize(win) {
        win.maximize();
	  }
	  function test_minimize(win) {
        win.minimize();
	  }
	  function test_restore(win) {
        win.restore();
	  }
	  function test_fullscreen(win) {
        win.enterFullscreen();
	  }
	  function test_maximize_minimize(win) {
        win.maximize();
        win.minimize();
	  }
	  function test_maximize_restore(win) {
        win.maximize();
        win.restore();
	  }
	  function test_maximize_fullscreen(win) {
        win.maximize();
        win.enterFullscreen();
	  }
	  function test_maximize_minimize_restore(win) {
        win.maximize();
        win.minimize();
        win.restore();
	  }
	  function test_maximize_restore_minimize(win) {
        win.maximize();
        win.restore();
        win.minimize();
	  }
    </script>
  </body>
</html>