Implemented new HitTest features