Fix missing param for getTargetPosition.