//Get the position of the object that you want.
Vector3 pos = mGameCamera.WorldToViewportPoint(target.position);
//Move the target GUI Element to the desired position
transform.position = mUICamera.ViewportToWorldPoint(pos);
pos = transform.localPosition;
pos.x = Mathf.RoundToInt(pos.x);
pos.y = Mathf.RoundToInt(pos.y);
pos.z = 0f;
transform.localPosition = pos;