Improving imgspect annotation save functionality.