Re-render diff if necessary