Fixed StackOverflowError when recursively visit object's field.