Fixed getting image scales.