Fix media state.