playlist: fix a crash for item remove and no track playing