Add method to create and render a rounded rectangle