Fix bug on display resource page that was blocking annotator from loading