fix for image copy scaling closes #397