Fix running commands in the panes