scope+gen: fix to prevent page scrolling when zooming