Added pointer events support for mice