This usually happens when FieldLayoutSettings.AutoGenerateFields is combined with custom FieldLayouts or when FieldGroup / Row settings are assigned differently to the hidden field. Have you checked if Field.Settings.AllowEdit or its Row / Column positioning properties in XAML are explicitly forcing it into a new layout row when unhidden?
I ran into the exact same issue trying to keep our custom theme maintainable. Since overriding DataRecordPresenter completely is currently the only workaround, did you notice any performance impact on large datasets when using the custom template?