Changed calcsize to original image size