Add support for pointer events