ui: Fix broken UI after resuming from shell

Previously some TUI elements were broken when returning from a bash
shell. This is now fixed.

rhbz#910541

Change-Id: I593ac45cb206779a7eb99790cf4f14951df457d1
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>