Kludge - fixing the transition end trigger.