Use pointer-events instead of clunky event handler