VID-1494 adjustments to renderPartial's treatment for default template engines