Common Core: Bug fix for inserting image media.