CCRenderTexture's -newCGImage method read pixels outside the render queue.
This lead to wrong previews in SpriteBuilder. After correcting this the image was flipped, fixed that as well.