Pushing the clip for the opacity item into the clip manager has a non-trivial cost, so we get better performance if we handle flattening the item before that. Differential Revision: https://phabricator.services.mozilla.com/D125633