Fixed crashing with mpv < 0.4