disable efp optimization if touch moves between shadowroots