after-draw-object hook