Merge "Use frame index directly in get_chessboard_index"