bugfixes in media browser

Signed-off-by: Wouter Vroege <wouter@woutervroege.nl>