Minor fix to opacity attribute definition