fixes for cv::warpAffine