Change blend function param order from h,w to w,h