graphics return the rectangle used so we can do inside