-Fix view not getting focus when a file is opened and "keep panel open"
is disabled.