Fix transition() for realsies (probably)