ESC key press checks are performed 1) before entering Freestyle, and 2) after the completion of the view map creation.