fix(Doc): Reset private properties when Doc::affect() is called (refs #4875)
Merge pull request #1206 from eguaj/3.2-A4875

fix(Doc): Reset private properties when Doc::affect() is called (closes #4875)