Fix BoxItemRenderer to accommodate for drawing api changes