Bugfix TrackView::editPaste() to not read data from a dead object

The commit in this PR fixes a nasty issue with paste – it was crashing really randomly, took me some time to figure out what was really happening!