Fixing problems when trying to size images that do not exist.