bug in routed events if element not rendered