Fixed the loop init and commented out Rect.Equals as it doesn't compile