Update Rectangle.cs

Fixed intersection check.