testing ray intersection in ui system