fixed esc in quest mode bug