Fix double activation in WPF

This is the same fix applied to RXUI6 as in #526, backported to RXUI 5
with activation