Fix rendering of legend nodes with non-zero layer transparency