FIX: ESC key is ignored