Fixes loading twice in tmux/screen