Guard against negative height attributes on the window occluders, which are triggered on Macs by the 'bounce' effect when the scroll offset hits the top or bottom of the document.