Implement Rect.Contains and Rect.Intersects.