Fix scroll pos bug