Fix bug with rendering thoughts.