Fixed opacity bug when insertSpec/removeSpec used opacity