This fixes the behavior of e.g. magit-diff-show-or-scroll-down. When in magit-log-mode, said action should not move focus to the diff window because it would otherwise behave identical to pressing magit-show-commit.