Add method to draw a cached object