Reduce recalc/layout during the compositing of animated values.

Previously we would cause a recalc and layout for each animated
target/property pair, for every frame. With this change only one recalc/layout
is required per frame.