Fix editor width issue on grid widget