Issue #3063824 by Wim Leers, oknate: Instead of conditionally attaching the `entity_embed/caption` asset library in the filter, attach it to the relevant render array