Fixed the broken opacity function on the brush