I ended up creating a texture from the graphics object and used a sprite. So now that the containers only use sprites, performance is better. So I can either display all of these containers, or use generateTexture to create a single sprite for each container. I would like to do that, but it ends up blocking the main thread. Is there another way to use generateTexture without blocking?