Fix crash on library right-click if no track selected