pointerdetector: Adapt filter

Change-Id: I9f5b979ac5e0e88ebed2e82b5abdcd4b6006908b
pointerdetector: Fix uninitialized memory usage

Change-Id: I41956cb5c2067abe8a6534c847d9587135752696