Fix shadow pointer events