add center and intersect checks to Rect class