brush masks: minor improvements