Fixed error produced when no file is selected when creating a new
Annotator.