Fix event manager handling mouse events on already destroyed views