Added Rect interp and changed pixelOrigin, pixelCentroid to use it