Load image in a different scope to ensure callback is registered on the right object. Closes #136.