Fix a bug when creating annotations.