Change the events order to match mouse