OED
The gerund still retains one feature of the verbal noun, namely, that of admitting of a preceding possessive case or possessive pronoun, as in "after John's behaving so strangely", "upon my readily granting it". In the literary language this construction is regularly retained with a pronoun,...