Removed unused RectangleExtensions code