fix path pointer-events regression