fix image auto scale.