Fix frontend media support for `{% sharedcontent %}` tag.

Need to register the media, just like `{% render_placeholder %}` does.