Fix bug when opacity was propagated for no reason.