fix bugs in FadeTransition, Transition