behavior of setContentScaleFactor correct?

I try to write this code.
This will generate a sprite from some of the texture.

CCSpriteBatchNode batchnode = CCSpriteBatchNode::create;
CCSprite
sprite = new CCSprite();
sprite~~>initWithTexture, CCRectMake);
sprite~~>setPosition(CCPointMake(100,500));
this~~>addChild;
However,
pDirector~~> setContentScaleFactor (2.f);
When writing this code, position the texture will change.
Therefore sprite was broken.

Is this correct behavior?