Crankshaft fixes for DoTransitionElementsKind