Otherwise the shadow will not be properly computed as opaque regions become translucent after applying opacity. Testcase included.