Fix opacity bug