Bug fix: ensure that floating layouts never go out of bounds, but are trimmed instead.
Bug fix: ensure that floating layouts never go out of bounds, but are trimmed instead.

ALSchwalm/python-prompt-toolkit,niklasf/python-prompt-toolkit,melund/python-prompt-toolkit,jonathanslenders/python-prompt-toolkit,ddalex/python-prompt-toolkit,jaseg/python-prompt-toolkit,amjith/python-prompt-toolkit