fixed calculation error in FadeEvent