Fix bug Content-2454: do not calculate the width when next tool is not exist.