Made rect use long instead of int, improved Rect.Intersects()