When UIRoot is set to "world" mode, NGUI will perform a raycast into the screen and use whichever collider it hits first. For this to work, your sphere should be on the same layer as your UI. If it's not, then it should not be a part of your UI hierarchy, and the camera that draws it also needs a UICamera script attached.