Fixed a crash in mpdwidget