Fix embedded image problem