Fixed mplayer/mpv not closing properly