title: CALayer - backgroundColor flipped?
body: <p>I'm creating a <code>CALayer</code> like this:</p>
  
  <pre><code>UIColor *color = [UIColor colorWithPatternImage:[UIImage imageNamed:@"MyPattern.png"]];
  backgroundLayer = [[CALayer alloc] init];
  [backgroundLayer setBackgroundColor:[color CGColor]];
  [[self layer] addSublayer:backgroundLayer];
  </code></pre>
  
  <p>For some reason, the pattern is drawn upside down. I've already tried setting <code>geometryFlipped</code> and applying sublayer transforms, but it doesn't work.</p>