Fix image-mean size check.