Fixed Texture2D::initWithData setting contentSize

initWithData() function was returning a value before setting the _contentSize/_maxS/_maxT variables.