-[ display]: Ignoring bogus layer size (255211754908294243945860531626574872576.000000, 340282346638528859811704183484516925440.000000)
I believe this is caused because the layer is too large and I expect this will cause issues buffering to an image for drawing.
I had this problem with a large UIView with relatively simple graphics and solved it by using a CATiledLayer
To do this, include the following in your UIView subclass to enable tiling:
+ (Class)layerClass {
return [CATiledLayer class];
}