core: tracklist fixing taking the current track as a reference in additions, and using instead the being-added track