fixed CCImage::calculateStringSize