[fix] ensure onComplete is called even if transition is interrupted and no transitionend event is called.