fix crash in server from removing z index fn
simpleui example