Use pointer-events: none to improve performance and reduce flickering