static/index-ls.html: Fix changing group resetting the z-coord in slice mode