Fixed targetPointer output value.