[FIX] avoid replaying the last transition when 'ESC' is pressed.