mousefinder gate detection