Same problem as in animation_curses.cpp