fix page states not updated in scroll mode
fix hinting beyond page range