I don't know if patching leuven is TRT? Maybe the :extend t should be added to the face definitions directly, since Org provides a knob (org-fontify-whole-heading-line) to control whether the final newline is fontified?