Fix some opacity rules