Fixed the memory leak in RoutedEvent, working on a revamp of DependencyProperty