Fix radius for rectangles

See #38