support new version of the pointer events