bugfix in TextAnnotationDialog