Bug fix for adding images in activity editor.