Switch to use pointer events