Fixed window height bug