hack to fix the redraw issue of rect