Fixed #89657 by using jquery to retrieve the page's height.