Capping rect radii to half width and height