Fix the issue with overflown panes.
Fix the issue with overflown panes.

j-allard/black-screen,railsware/upterm,drew-gross/black-screen,black-screen/black-screen,drew-gross/black-screen,j-allard/black-screen,j-allard/black-screen,shockone/black-screen,vshatskyi/black-screen,vshatskyi/black-screen,black-screen/black-screen,vshatskyi/black-screen,black-screen/black-screen,railsware/upterm,shockone/black-screen,drew-gross/black-screen,vshatskyi/black-screen,drew-gross/black-screen