Fixed Texture2D::initWithData setting contentSize

Texture2D's initWithData() function returns a value before setting the _contentSize/_maxS/_maxT variables.