Fix for `visibleHeight` method.