canvas-animation: Simplify Rect property setter calculations.