Quick fix for media view

Without this, the following error occurs:

    Message:

    Error rendering view: [platform/media::view]

    Undefined index: name

This is because the media array passed to the view is 2D, whereas it's
expecting 1D.

There's probably a more elegant way of fixing this.