title: SKShapeNode frame contains point (0, 0) even if CGPath does not
body: <p>I am implementing a game which loads background graphics dynamically, depending on currently visible area. The background is drawn with using SKShapeNode. In order to save memory, I am drawing only a small part of the CGPath. The problem is that no matter what CGPath coordinates I use, the resulting frame of SKShapeNode will always contain the (0, 0) point. Here is an example:</p>
  
  <pre><code>SKShapeNode *shapeNodePos = [SKShapeNode node];
  CGMutablePathRef pathPos = CGPathCreateMutable();
  CGPathAddRect(pathPos, NULL, CGRectMake(50, 50, 50, 50));
  shapeNodePos.path = pathPos;
  CGPathRelease(pathPos);
  NSLog(@"Frame pos = (%f, %f, %f, %f)", shapeNodePos.frame.origin.x, shapeNodePos.frame.origin.y, shapeNodePos.frame.size.width, shapeNodePos.frame.size.height);
  </code></pre>
  
  <p>The result is:</p>
  
  <pre><code>Frame pos = (0.000000, 0.000000, 100.000000, 100.000000)
  </code></pre>
  
  <p>However, I would expect the SKShapeNode.frame to be limited only to CGPath contents:</p>
  
  <pre><code>Frame pos = (50.000000, 50.000000, 50.000000, 50.000000)
  </code></pre>
  
  <p>Is it a bug in SpriteKit or actually an expected behaviour? If that small CGPath rectangle is drawn considerably far from the (0, 0) point can it also negatively impact the performance or will Sprite Kit ignore empty area of the frame?</p>
  
  <p>Thanks in advance!</p>