fix mask when passesView is clicked