fixed ui crashing when reordering tracks, closes #412