revert pointer events change