Fix for clicking on code after going back in history in diff mode.