Remove unnecessary calls to ShapeRoundedRectWindow.