Fix preview when hovered item is near top of screen.