Fix layer ordering with multiple stacks on same auto z-index