Port to 0.2.x API. Big performance gains from cropping out excess alpha in multiple layers.