Correctly reset renderer for sub applications.
Correctly reset renderer for sub applications.

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