patch until node-webkit and windows 8 maximse/unmaximize works correctly

Just make it work for now