Fix finishTransition