Extract ActiveElementState to TransitionalState

Whoo, meta!