fix(tabs): keep stable tab order - prevent potential infinite loop