fix bug when scrolling on an overlay, again