fix zindex offset