Face detection exit issue