Added linear constrain for rectangle.