fixed some bugs in PositionReachedListener and color channel