To improve performance, only add the rounded corners bezier path once