opacity bug fix