fixes mouse mode issues in tmux