Fixing rectangle all-parameter-object constructor