Fix #1364 - construct transition.event lazily.