Fix bug while setting images on PointerDetector filters

Change-Id: I2b5db35538262ae7d0a803658e8d7107e4cff2fe