fixes for brush applied to text