create annotator before creating osd viewer