Fix image disappearing after publishing the page.