rect_compare corrected