Fixed pointer events when scrolled.