I am trying to use ScreenPointToRay to cast a ray onto a UISprite with a BoxCollider attached. Lets say the sprite is at (240, 350) which is the top right of the screen. It draws in the correct position. If i touch that sprite and use ScreenPointToRay, the ray's origin will be something like (1, 1, 0) and it's direction is (0, 0, 1). That ray will not hit the collider.
How do I get the correct Ray?