scaleRect - TODO: better rounding of x2/y2