Solved bugs in PointerDetectorFilter

Change-Id: If1e286248fcd8cac8fada43f53aef29839cde06c