fix help popup flickering issue on some terminals