Fix issue with erroneously visible scrollbars