[BUGFIX] Use local cObj to avoid overriding virtual fields

Change-Id: I5cfaba734e4be49bbf168d9da19cf302ad86a4f5
Resolves: #60099
Reviewed-on: https://review.typo3.org/31323
Reviewed-by: Jo Hasenau
Tested-by: Jo Hasenau