Finding z index now takes opacity into account for stacking context.