confirmSelection() now works for image annotations
Annotator workaround for highlighter mode for image annotations.

The imageanchor puts the @pendingID to the annotation when annotation.inject is true

Workaround for #974