make z-index for grid visualizer work