added corner radius scaling