Fixed ResetOriginIfScrollAtGeneration in APZCCallback helper