Fix rounded rect API call