Fixes some issues with tmux command entering and resizing