Use maximum z-index among parents to calculate new one