ui layer and touch pririty