I read this in 2 ways so I’ll approach it in 2 ways:
1) (the issue occurs on drag)
A) Don’t use overlap until touch ends. This way when you’re dragging the menu it doesn’t meet your condition
B) You can also use a timer with the overlap if you really want that touch involved (you can use your current logic to add to a timer for the instance. If that timer reaches a certain value you would change the animation)
2) (the issue occurs on drop) You could try snapping your menu to the position to the house and use that as the trigger to the animation change (if menu x/y = house x/y change animation).