Landscape visibility mask problems

When I visibility mask painting in landscape, painted area turns gray. How can fix it ?