Fix progress update on media scanning