screen: switch the cursor back on only in the main loop

This fixes https://savannah.gnu.org/bugs/?49750.
2 files changed