corrected CG shape in frame()