Fixed a bug in pointerAddedListener callback, see #111