Made mouse and UI events cancelable

Done !

Also, look at [`initUIEvent`](https://developer.mozilla.org/en-US/docs/Web/API/event.initUIEvent), it only takes 5 arguments, we're passing the full 15.