Cache bug drawing, working towards #99.