Fixed crash upon console hide when there's no other onscreen UI elements