Fixed ObjectField() performance issues.