Improve prevent overlay from scrolling on mobile.