Fix copy bugs around empty cells