Don't store invalid window dimensions on Windows
Use instance method