fix brush selection in sculpt and painting mode