fix(dom) panel refresh when buffer used