Edit: As soon as I posted this, I realized I needed to update the ImageGallery module. Works like a charm.
The line in dataobject_manager.js is line 294
The only way to get around it is to refresh the page. Any ideas?