Remove an empty var was blocking correct execution of the transition events