Paint a layer mask with a specific maximum transparency using multiple strokes