Bug fixes on media UI.