Fix untunable window height

Fix issue #13
Merge pull request #15 from jianingy/fix-untunable-height

Fix untunable window height