Replace Winforms hack with proper Engine Nine input events.