pointerdetector2: Fix problems in filter behaviour

Change-Id: I969fa3e2274acc93d64e49b2a67588c0f744cbb7