Fix an exception being thrown when user clicks same spot twice in diff