Fix crash in mpd widget