Adding setRectBounds to Rectangle