Eliminate performance hit from unnecessary re-rendering of chat messages