window height bug fix