Fix opening applications in tmux sessions