Improve frame index displaying.