When resizing the copy mode screen, don't allow it to end up with the viewable position beyond the size of the history.
When resizing the copy mode screen, don't allow it to end up with the
viewable position beyond the size of the history.

klaxalk/tmux,klaxalk/tmux,klaxalk/tmux,klaxalk/tmux,klaxalk/tmux