fix(Doc): Do not reset the withoutControl* properties when Doc::affect() is called (refs #4877)