Added resetmatch on transition end