Draw a rectangle and then pull a circle with four corners to pull out the rounded rectangle directly.
If you don't have four corners with small circles, it depends on whether your layer has become a path. If it has become a path, you can't draw a rounded rectangle. Just pull another rectangle.