Fixed embedded image bug