fixed z stack bugs :bee: