RayOrigin calculations now use the BoxCollider2D center point