Fixed issue when element itself contains src