Fixing an issue of out of bound in CCTableView.cpp.