Stop recording when you enter a defined area