Fixed a bug of Grid#splice