Fixed error
Merge pull request #11 from EmilWestergren/master

Fixed error in Window class