fix issue #265 - remove base64 images before passive detection