Propagate context of returned deferred object in Deferred.then(). Fixes #13160.