Fix preventing overlay from scrolling bug.