Grid#_render: improved performance