Fix globalzorder issue