refact the clip in graphic
draw uiframe partly