Updated HitTest for offset