In particular, if only the geometry changes, don't cascade and recalculate the style.
Another pass at #3146, including a unit test.