Fixing image validation in latest FF version.