Fix a bug in aborted() where we were checking time against the global
timeline but the file dialog’s viewer uses a separate timeline.