Fix problem with media editing.