When restoring windows, update state only after restoring transients.