Workaround to fix item selection in Curses version