fixing event for when the user hits esc without selecting anything