Fixed an issue in image annotation that may cause the cwrcwriter to fail...

... saving an image annotation on the first attempt.