Fix a bug with creating new tracks