[Windows] Fixed issues about window positioning

-Fixed #821 and also position of new window
[Windows] Fixed first moment black background of new tab.
Merge pull request #824 from srazi/master

Fixed Windows related issues.