Fix rounded corner drawing