Refactored to remove dependency on pointer-events: none